<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/jsp/common/common_include_for_server.jsp"%>
<table id="reportListTable" border="1" style="font-size: 12PX;">
	<tr>
		<th>
			选择
		</th>
		<th>
			分类
		</th>
		<th>
			行业
		</th>
		<th>
			标题
		</th>
		<th>
			录入时间
		</th>
		<th>
			操作
		</th>
	</tr>
	<s:iterator value="pageUtil.pageData">
		<tr>
			<td>
				<input type="checkbox" name="reportId" id="reportId_${reportId }" value="${reportId }" onclick="selectReport(this.checked, ${reportId }, '<s:property value="title" />');"/>
			</td>
			<td>
				<s:property value="reportType.name" />
			</td>
			<td>
				<s:iterator value="reportIndustries">
					<s:if test="industry.industry != null">
						<s:property value="industry.industry.name"/> &gt;&gt;
					</s:if>
					<s:property value="industry.name" /><br/>
				</s:iterator>
			</td>
			<td>
				<s:property value="title" />
			</td>
			<td>
				<s:date name="createTime" format="yyyy-MM-dd HH:mm" />
			</td>
			<td>
				<a href="report.action?report.reportId=${reportId}" target="_blank">查看</a>
			</td>
		</tr>
	</s:iterator>
</table>
<script type="text/javascript">
var boxes = $('#reportListTable input[type=checkbox]');
$.each(boxes, function(i, box){
	$(box).attr('checked', relatedReport[box.value]);
});
// .attr('checked', relatedReport[this.id]);
function go(showPage){
	loadRelatedReports.prototype.showPage = showPage;
	loadRelatedReports();
}
</script>
<%@ include file="/jsp/common/common_include_for_pages.jsp"%>
